using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 角色字典
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 角色字典
    /// </summary>
    [SugarTable("sys_role_dict", TableDescription = "角色字典")]
    public class SysRoleDict
    {
        /// <summary>
        /// 角色id
        /// </summary>
        [SugarColumn(ColumnName = "ID" ,IsIdentity = true, IsPrimaryKey = true)]
        public int ID{ get; set; }
        
        /// <summary>
        /// 角色代码
        /// </summary>
        [SugarColumn(ColumnName = "Code")]
        public string Code{ get; set; }
        
        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string? Name{ get; set; }
        
        /// <summary>
        /// 角色状态
        /// </summary>
        [SugarColumn(ColumnName = "Status")]
        public int? Status{ get; set; }
        
    }
}